package site.shihuan.helpdesk.ticket.manager;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import site.shihuan.helpdesk.ticket.dao.TktLogTicketDao;
import site.shihuan.helpdesk.ticket.model.po.TktLogTicketPO;
import site.shihuan.helpdesk.ticket.model.vo.TicketLogVO;

import java.util.List;

/**
 * 工单历史
 *
 * @author 周世焕
 * @Date 2021/4/4 15:18
 */
@Service
public class TicketLogManager {

    @Autowired
    private TktLogTicketDao logTicketDao;

    /**
     * 查询工单历史
     * @param ticketId
     * @return
     */
    public List<TicketLogVO> findByTicketId(String ticketId) {
        return logTicketDao.selectByTicketId(ticketId);
    }
}
